commit | 459408a66d05ee4f6be5bc2e237a8f187209e7a6 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Jan 15 02:05:32 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Jan 15 02:05:32 2021 +0000 |
tree | 859f22c3b6d50e455290fc2cb73b51cf808c44e8 | |
parent | 9521b16b996aae10df778b357b5823383a5a210c [diff] | |
parent | 1158cea581a32d9389fd34e3e93444b45aee8ebf [diff] |
Snap for 7083521 from 1158cea581a32d9389fd34e3e93444b45aee8ebf to sc-d1-release Change-Id: Ied16aff755b048727689f39564055f6e185284bb
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
To run tests under CPython, run::
pip install pytest # if you don't have py.test already pip install pycparser python setup.py build_ext -f -i py.test c/ testing/
If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path
to point to the location that contains the _cffi_backend.so
just compiled.